ASRL Flow Control Combinations
VISA supports the combinations "RTS/CTS AND XON/XOFF" and "DTR/DSR AND XON/XOFF" for the ASRL's flow control property, but there is not a way to set those states in Keysight Connection Expert. Both hardware and software flow control can be enabled simultaneously in program code. There are Keysight VISA attributes that allow this low level control.
After the ASRL instrument or interface is opened in VISA,you can enable both flow styles by “OR-ing” the appropriate attributes. For example:
viSetAttribute(vi, VI_ATTR_ASRL_FLOW_CNTRL ,VI_ASRL_FLOW_RTS_CTS | VI_ASRL_FLOW_XON_XOFF);
viSetAttribute(vi, VI_ATTR_ASRL_FLOW_CNTRL,VI_ASRL_FLOW_DTR_DSR| VI_ASRL_FLOW_XON_XOFF);